package at.fhj.routenplaner;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.MenuItem;
import android.view.Window;


public class Verabschiedung extends Activity {
    /** Called when the activity is first created. */
    
    
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(new VerabschiedungPanel(this));

        MyCount counter = new MyCount(5000,1000);
        
        counter.start();

        
    }
  //countdowntimer is an abstract class, so extend it and fill in methods
    public class MyCount extends CountDownTimer{

    public MyCount(long millisInFuture, long countDownInterval) {
    super(millisInFuture, countDownInterval);
    }

    @Override
    public void onFinish() {
    	finish();
    }

    @Override
    public void onTick(long millisUntilFinished) {

    }
    }


	
}